<template>
  <refresh-list
    ref="refreshList"
    :enable-pull-refresh="false"
    @pull-load="onListLoad"
  > 
    <template v-if="data.length">
      <user-item
        v-for="item in data"
        :key="item.mid"
        :cover-path="item.upic"
        :name="item.uname"
        :fans="item.fans"
        :videos="item.videos"
        :sign="item.usign"
        :allParams="item"
      />
    </template>
  </refresh-list>
</template>

<script>
import SearchResultBase from './SearchResultBase.vue'
import UserItem from '@/components/user-item/UserItem.vue'
export default {
  name: 'SearchResultUser',
  extends: SearchResultBase,
  components: {
    UserItem
  },
  props: {
    searchType: {
      type: String,
      default: 'bili_user'
    }
  }
}
</script>

<style>

</style>
